ListBox.AddRow Method

Appends Item in a new row to the end of the list. For multi-column ListBoxes, Item is always assigned to column zero.

Syntax

ListBox.AddRow Item


Parameters

Item

String


In the case of hierarchical ListBoxes, AddRow appends Item to the subitems of the expanded row when called in the ExpandRow event. The theoretical maximum number of rows is over 2 billion but the actual number will be lower due to memory constraints.